package entity;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "UserControl")
public class UserControl implements Serializable {

    private String macCode;

    private String empCode;

    @XmlAttribute
    public String getMacCode() {
        return macCode;
    }

    public void setMacCode(String macCode) {
        this.macCode = macCode;
    }

    @XmlAttribute
    public String getEmpCode() {
        return empCode;
    }

    public void setEmpCode(String empCode) {
        this.empCode = empCode;
    }

    @Override
    public String toString() {
        return "UserControl{" +
                "macCode='" + macCode + '\'' +
                ", empCode='" + empCode + '\'' +
                '}';
    }
}
